{block javascript}
    <script type="text/javascript" src="{$basePath}/js/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript" >
    tinyMCE.init({
            mode: "specific_textareas",
            editor_selector: "mceEditor",
            theme : "advanced",
            plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave,visualblocks",
            theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,emotions,separator,undo,redo,|,link,unlink",
            theme_advanced_buttons2 : "",
            theme_advanced_buttons3 : ""
    });
    </script>
{/block}
    
{var $robots = noindex}
{block content}

<h2>Fórum Povodně ... idealní místo pro Váš pokec</h2>
<!--<h2><a n:href="forum:">Fórum Povodně</a> ... </h2>-->
{*-if $user->isLoggedIn()}
    Jsi přihlášen :)<br>
{else}
    Nejsi přihlášen<br>
{/if*}
<div><a n:href="forum:"><button>Zpět</button></a></div>
{foreach $reForum as $forum}
<div class="forumhl">
    Rekce na >> {$forum->kdo}
    {*$forum->komu}{if (($forum->komu) > 0)}
        <b>Komu: </b>{$forum->komu}
    {/if*}
        @ <span class="forum_datum">{$forum->kdy|date:'j. n. Y - H:i'}</span>
        <div class="forumin">
                <ul>
                        {!$forum->text}
                </ul>
        </div>
</div>
{/foreach}
<div class="Bcelek" >
    Vložení příspěvku
    <div class="Btext">
        {control forumAdd}
    </div>
</div>